package com.xjh.utils.beanutils;

/**
 * Bean赋值
 *
 * @company 湖南省安第斯信息科技有限公司, 版权所有
 * @author kevin
 * @date 2021/3/10
 */
public interface BeanCopier {

	/**
	 * Copy sourceObject properties to targetObject properties.
	 * @param sourceObject The source object which want to be copied from.
	 * @param targetObject The target object which want to be copied to.
	 * @return targetObject The target object is returned.
	 * 
	 * Exception: if error, RuntimeException will be thrown, and can be BeanCopyException.
	 */
	public Object copyBean(Object sourceObject, Object targetObject );
	
}
